/**
 * Copyright (c) 2025 myons Inc. All rights reserved.
 */
package cn.zmwh.manage.admin.modules.business.pojo.request;

import cn.zmwh.common.core.api.BaseRequest;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @describe: 分类创建 、
 * @author: dmzmwh 、
 * @time: 2025-03-28 15:21 、
 */
@Data
public class CateGoryRequest extends BaseRequest {


    @ApiModelProperty(value = "类目ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "店铺ID")
    private Long shopId;

    @ApiModelProperty(value = "父节点")
    private Long pid = 0L;

    @ApiModelProperty(value = "产品类目名称 限50字符")
    private String name;

    @ApiModelProperty(value = "类目的显示图片")
    private String pic;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "备注 限50字符")
    private String remark;

    @ApiModelProperty(value = "默认是1，表示正常状态,0为下线状态")
    private Integer status;

    @ApiModelProperty(value = "是否可售后1 可以，0不可以")
    private Integer refund;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

}
